# Test for Answer within Range
#
answer=42
print()
guess=int(input("What is your guess? "))
print()   
#
####################################################
#
if (guess == answer):
    print("Correct!")
#
elif (guess >= answer - 5) and (guess <= answer + 5):
    print("You're within 5 of the correct number") 
#
elif (guess >= answer - 10) and (guess <= answer + 10):
    print("You're within 10 of the correct number") 
#
elif (guess >= answer - 15) and (guess <= answer + 15):
    print("You're within 15 of the correct number") 
#
else:
    print("Sorry. You are WAY off of the correct number.")
#
print()
